package web.PetStore.persistence;

import web.PetStore.domain.Account;

public interface AccountDAO {

    public Account findUserByIdAndPassword(String userid, String password);

    public boolean findUserById(String userid);

    public Account findUserByIdAndPhone(String userid, String phone);

    public boolean addUser(Account account);

    public boolean changeInfo(Account account);

    public boolean changePassword(String password,String userid);

}
